package com.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.sys.Role;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author clay
 * @since 2022-02-15
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> getRoles(String userId);
}
